﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Objects
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
    public class FieldAttribute: Attribute
    {        
        private string _ShowName;
        /// <summary>
        /// Отображаемое имя
        /// </summary>
        public string ShowName
        {
            get
            {
                return _ShowName;
            }
            set
            {
                _ShowName = value;
            }
        }
        public FieldAttribute(string ShowName)
        {
            this.ShowName = ShowName;            
        }
    }
}
